package com.blog.service;

import com.blog.dto.ArticleDTO;
import com.blog.entity.Article;

import java.util.List;

public interface KafkaProducerService {
    void sendArticleBatch(List<Article> batch,Integer pageNum);

    void addArticleandEs(ArticleDTO articledto);
}
